<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>失业保险金申领</title>
    <link rel="stylesheet" href="./styles/web/index.css">
    <link rel="stylesheet" href="./styles/web/print.css" type="text/css" media="print">
</head>

<body>
    <div class="all">
        <!-- 头部开始 -->
        <script src="http://rsj.beijing.gov.cn/images/rsj_header.js"></script>
        <include src="./include/header.html"></include>
        <!-- 头部结束 -->
        <!-- 申请提示开始 -->
        <div class="message">
            <div class="content clearfix">
                <div class="zuo left scroll">
                    <div class="first common" style="padding: 10px;">
                        <div class="titles concommon">
                            <a href="./index.html">
                                < 首页</a> <span class="on">|</span>
                                    <span>历次申领记录查询</span>
                        </div>
                        <div class="zscommon" id="search">
                            <script type='text/html' id="orderList">
                                    <%if(data.executeResult == 1){%>
                                    <%for(var i=0;i<data.sljl.length;i++){%>
                                <ul class="order_list">
                                    <li class='clearfix' style="height:126px">
                                        <p class="left jgmc clearfix" style="width: 100%;">
                                            <span class="left yy_span"><%=data.sljl[i].slczsj%></span>
                                                <%if(data.sljl[i].slzt.substring(1) =='1'){%> 
                                                    <span class="right yy_span cor_green" style="text-align: right;"><%=data.sljl[i].slztmc%></span> 
                                                    <%}else{%> 
                                                    <span class="right yy_span cor_red" style="text-align: right;"><%=data.sljl[i].slztmc%></span> 
                                                    <%}%> 
                                        </p>
                                        <div class="left yhzh clearfix">
                                            <span class="left cdsj" style="width: 70px;">银行账号：</span>
                                            <div class="right">
                                                <p style="width: 358px;height: 26px;" class="yhzh_sty"><%=data.sljl[i].yhzh%></p>
                                                <p style="width: 358px;height: 26px;" class="yhzh_sty">(<%=data.sljl[i].khhmc%>、<%=data.sljl[i].yhklxmc%>)</p>
                                            </div>
                                        </div>
                                        <%if(data.sljl[i].jylc =='0102' ||data.sljl[i].jylc =='0202' ||data.sljl[i].jylc =='0302'||data.sljl[i].jylc =='0402' || data.sljl[i].jylc =='0502'){%>
                                        <p class="left sbyy" style="display:block">
                                            <span class="left cdsj" style="width: 98px;margin-right: 0px;">申领失败原因：</span>
                                            <span class="left sbyy_text" style="width:282px" title="<%=data.sljl[i].slsbyy%>"><%=data.sljl[i].slsbyy%></span>
                                        </p>
                                        <%}else{%>
                                            <p class="left sbyy" style="display:none">
                                                    <span class="left cdsj" style="width: 98px;margin-right: 0px;">申领失败原因：</span>
                                                    <span class="left sbyy_text" style="width:282px" title="<%=data.sljl[i].slsbyy%>"><%=data.sljl[i].slsbyy%></span>
                                            </p>
                                        <%}%>
                                    </li>
                                </ul>
                                <%}%>
                                <%}%>
                            </script>
                        </div>
                        <div id="pagination-searchResult"></div>
                    </div>
                </div>
                <div class="you right">
                    <div class="top">
                        <div class="person on">
                            <p class="on xm"></p>
                            <p class="lxdh"></p>
                        </div>
                        <p class="sfzhm"></p>
                    </div>
                    <div class="middle" id="J_wrap">
                        <script type="text/html" id="J_item">
                            <%if(data.executeResult == 1){%>
                                <% var _data = data.sljl%>
                                <div class="middle">
                                <%if(_data.length){%>
                                    <div class="yyxx_box">
                                            <p class="zjyyxx" style="width: 160px;">
                                                <span>银行账号：</span>
                                                <span class="yhzh" title="<%=_data[0].yhzh%>"><%=_data[0].yhzh%></span>
                                            </p>
                                            <a href="#" class="J_jl">历次申领记录查询</a>
                                        </div>    
                                <%}else{%>
                                    <h3 class="">暂无申领记录</h3>     
                                <%}%> 
                            </div>
                            <div class="middle">
                                <div class="yyxx_box">
                                    <a href="#" class="J_yhzhwh">银行账号维护</a>
                                </div>
                            </div>
                        <%}%>
                        </script>
                    </div>
                    <div class="newbox">
                        <div class="box_two">
                            <p class="zxtel">咨询电话：12333</p>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <!-- 申请提示结束 -->
        <!-- 尾部开始 -->
        <!-- <include src="./include/footer.html"></include> -->
        <script src="http://rsj.beijing.gov.cn/footer.js"></script>
        <!-- 尾部结束 -->
    </div>

</body>
<script src="./common/js/vendor.js"></script>
<script src="./common/js/jquery.js"></script>
<script src="./common/js/validator.js"></script>
<script src="./common/js/template-native.js"></script>
<script src="./common/common.js"></script>
<script src="./common/js/common.js"></script>
<script src="./common/js/generaltools.js"></script>
<script>
    $(function () {
        var loading = new $.Loading();
        //历次预约查询
        $(document).on('click', '.J_jl', function () {
            window.location.href = "./yyxq.html";
        });
        getlcsljlCx();
        function getlcsljlCx() {
            $('#search').pageTool({
                url: '/sybxjsl/lcsljlCx',
                type: 'get',
                data: { pageSize: '3', pageNum: '1' },
                locator: 'returnData',
                callback: function (result) {
                    var res = result.returnData;
                    if (res.executeResult === '1') {

                    } else {
                        $.layerMsg(res.message, '确定');

                    }
                }
            });
        }

        // //历次预约查询
        getLcyyxc();
        function getLcyyxc() {
            loading.on();
            $.asyncRender({
                url: '/sybxjsl/lcsljlCx',
                type: 'get',
                wrap: '#J_wrap',
                tem: '#J_item',
                pos: 'returnData'
            }).done(function (result) {
                var msg = result.returnData;
                if (msg.executeResult == "1") {

                } else {
                    $.layerMsg(msg.message, '确定')
                }
            }).always(function () {
                loading.off();
            })
        }
        $('body').on('click', '.fail_know', function () {
            $('.wlxy,.xgfail_content').hide();
            window.location = window.location;
        })
    })
</script>

</html>